package com.jie.langlangmall.dto;

import com.jie.langlangmall.model.SmsCoupon;
import com.jie.langlangmall.model.SmsCouponProductCategoryRelation;
import com.jie.langlangmall.model.SmsCouponProductRelation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/26
 * @Email 3217998214@qq.com
 * @Description 优惠券信息封装，包括绑定商品和分类
 */
@Setter
@Getter
public class SmsCouponParam extends SmsCoupon {
    @Schema(title = "优惠券绑定的商品")
    private List<SmsCouponProductRelation> productRelationList;
    @Schema(title = "优惠券绑定的商品分类")
    private List<SmsCouponProductCategoryRelation> productCategoryRelationList;
}